/*
 * @Author: xiaopang
 * @Date: 2018-08-30 13:59:29
 * @Last Modified by: xiaopang
 * @Last Modified time: 2018-08-31 10:39:06
 */

@charset "utf-8";

/*=========================Reset_start==========================*/

body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
p,
dl,
dt,
dd,
ol,
ul,
li,
form,
table,
th,
td,
a,
img,
span,
strong,
var,
em,
input,
textarea,
select,
option {
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif, "微软雅黑", "黑体", Arail, "宋体", Tabhoma;
  font-size: 14px;
  text-align: left;
}

ul,
ol {
  list-style: none;
}

img {
  border: 0;
}

input,
select,
textarea {
  outline: 0;
}

textarea {
  resize: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
strong,
var,
em {
  font-weight: normal;
  font-style: normal;
}

a {
  text-decoration: none;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}


/*==========================Reset_End===========================*/

::-webkit-scrollbar {
  width: 6px;
  height: 6px
}

::-webkit-scrollbar-button {
  height: 0;
  width: 0
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1
}

::-webkit-scrollbar-thumb {
  background: #ccc
}

* {
  scrollbar-base-color: #ccc;
  scrollbar-3dlight-color: #ccc;
  scrollbar-highlight-color: #ccc;
  scrollbar-track-color: #f1f1f1;
  scrollbar-arrow-color: #000;
  scrollbar-shadow-color: #ccc;
  scrollbar-dark-shadow-color: #ccc;
}


/*利用after伪类清除浮动*/

.clearfloat {
  zoom: 1;
}

.clearfloat:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  zoom: 1;
}

.clearfix:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}


/*添加一个 类名为clearit的div来清除浮动*/

.clearit {
  clear: both;
  height: 0;
  overflow: hidden;
  font-size: 0;
}


/*添加类名设置超出后不换行，用省略号代替*/

._textover {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

._textover2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

._textover3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

._textover4 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

._textover5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

._textover6 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

._textover7 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

._textover8 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}

._textover9 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
}

._textover10 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
}


/*苹果端获取焦点时高亮问题*/

input,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}


/*scroll流畅*/

div {
  -webkit-overflow-scrolling: touch;
}


/*图片ju中。。。宽高自己自定义修改*/

.imgbox {
  position: relative;
}

.imgbox>img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

img {
  display: block;
  padding: 0;
  margin: 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}


/*自定义input默认显示时的样式*/

input.zidingyiinput::-webkit-input-placeholder {
  color: rgb(91, 91, 91);
  font-size: 12px;
}
